package net.mikoo.seals.biz.mapper;

import java.util.List;

import org.mybatis.spring.annotation.MapperScan;

import net.mikoo.seals.model.DevicesUsedCert;
import net.mikoo.seals.model.DevicesUsedCertQuery;
import net.mikoo.seals.model.Upfile;

@MapperScan
public interface DevicesUsedCertMapper {
	
	Integer insert(DevicesUsedCert devicesUsedCert);
	
	Integer update(DevicesUsedCert devicesUsedCert);
	
	DevicesUsedCert selectInfoById(Long devicesUsedCertId);
	
	List<DevicesUsedCert> selectByQueryToPage(DevicesUsedCertQuery query);
	
	Integer countByQueryToPage(DevicesUsedCertQuery query);
	
	DevicesUsedCert selectInfoByQuery(DevicesUsedCertQuery query);
	
	Integer delete(DevicesUsedCert devicesUsedCert);
	
	List<Upfile> selectUpfileByActId(Long devicesActId);
}